﻿using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.DataContract.Models
{
    /// <summary>
    /// 枚举模型
    /// </summary>
    [Serializable]
    public class EnumModel
    {
        /// <summary>
        /// 枚举Id
        /// </summary>
        [JsonProperty("id"), JsonPropertyName("id")]
        public int Id { get; set; }

        /// <summary>
        /// 枚举名称
        /// </summary>
        [JsonProperty("name"), JsonPropertyName("name")]
        public string Name { get; set; }

        /// <summary>
        /// 枚举描述
        /// </summary>
        [JsonProperty("desction"), JsonPropertyName("desction")]
        public string Desction { get; set; }
    }
}